//
//  Student.h
//  手动内存管理
//
//  Created by FelixYin on 2020/4/12.
//  Copyright © 2020 FelixYin. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Dog.h"

NS_ASSUME_NONNULL_BEGIN

@interface Student : NSObject

//如果使用@property的话 编译器会自动帮我们生成get,set方法 
@property (nonatomic,strong) NSString *name;
@property (nonatomic,assign) NSInteger age;

- (void) setDog:(Dog *) dog;

- (Dog *) getDog;

@end

NS_ASSUME_NONNULL_END
